﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<KabiManagementWeb.Models.Penalty>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Create
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Thêm hình thức phạt tiền</h2>

    <% using (Html.BeginForm()) {%>
        <%= Html.ValidationSummary(true) %>

        <fieldset>
            <legend>Thông tin</legend>
            
           
            <div class="editor-label">
               Nội dung
            </div>
            <div class="editor-field">
                <%= Html.TextBoxFor(model => model.Pe_Name) %>
                <%= Html.ValidationMessageFor(model => model.Pe_Name) %>
            </div>
            
            <div class="editor-label">
               Số tiền trừ
            </div>
            <div class="editor-field">
                <%= Html.TextBoxFor(model => model.ExceptSalary) %>
                <%= Html.ValidationMessageFor(model => model.ExceptSalary) %>
            </div>            
          
            <p>
                <input type="submit" value="Thêm" />
            </p>
        </fieldset>

    <% } %>

     <div>
        <%= Html.ActionLink("<- Quay lại", "Index") %>
    </div>
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="ScriptZone" runat="server">
</asp:Content>

